package com.fuqiang.nightshopumsmodel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:会员任务表
 * @author fuqiang
 * @since 2020-04-14
 */
@ApiModel(value ="会员任务表")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_member_task")
public class UmsMemberTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("name")
    private String name;
    @ApiModelProperty(value = "赠送成长值")
    @TableField("growth")
    private Integer growth;
    @ApiModelProperty(value = "赠送积分")
    @TableField("intergration")
    private Integer intergration;
    @ApiModelProperty(value = "任务类型：0->新手任务；1->日常任务")
    @TableField("type")
    private Integer type;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String GROWTH = "growth";

    public static final String INTERGRATION = "intergration";

    public static final String TYPE = "type";

}
